import { get } from "./request";

//发起请求
//获取首页歌单

export function getuserList(){
    return get('/user/playlist',{
        params:{
            uid:600191111,
            limit:100
        }
    })
}
//获取新音乐
export function getNewList(){
    return get('/personalized/newsong')
    }

//获取热搜列表
export function getHotList(){
    return get('/search/hot')
}
export function getjy(keywords){
    return get('/search/suggest',{
        params:{
            type:'mobile',
            keywords
        }
    })
}
export function getSearch(keywords){
    return get('/cloudsearch',{
        params:{
            limit:20,
            keywords
        }
    })
}
//获取歌词数据
export function getLyric(id){
    return get('/lyric',{
        params:{
            id
        }
    })
}